package com.wanxi.coupons.exception;

/**
 * ClassName: ExceptionResult
 * Description: 异常返回的状态码
 * date: 2022/1/14 16:43
 *
 * @author lxl
 * @version 1.0
 * @since JDK 1.8
 */
public enum ExceptionResult {

    EXCEPTION_NULL(101,"参数不能为空");

    ;

    private Integer code;
    private String message;

    ExceptionResult(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
